package priv.dajie.tzzq.bot.model;

import java.math.BigDecimal;

public class SellItem { // buff 与 c5 的销售信息实体
    private String id;
    private BigDecimal price;
    private PayMethod payMethod;

    public SellItem(String id, BigDecimal price) {
        this.id = id;
        this.price = price;
    }

    public SellItem(String id, BigDecimal price, PayMethod payMethod) {
        this.id = id;
        this.price = price;
        this.payMethod = payMethod;
    }

    public PayMethod getPayMethod() {
        return payMethod;
    }

    public String getId() {
        return id;
    }

    public BigDecimal getPrice() {
        return price;
    }

    @Override
    public String toString() {
        return "SellItem{" +
                "id='" + id + '\'' +
                ", price=" + price +
                '}';
    }
}
